package com.android.lib.base.baseclass

import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import com.android.lib.base.R

class LoadingDialog(context: Context) : Dialog(context,  R.style.dialog) {

    init {
        /**设置对话框背景透明 */
        window!!.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
        setContentView(R.layout.loading)
        setCanceledOnTouchOutside(true)
        show()
    }



}